using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WiMo.Games.GameEngine.WP7S.XNA;

namespace Collisions.WP7S.XNA
{
    public class Startup : WiMo.Games.GameEngine.WP7S.XNA.GameEngine
    {
        public Startup()
            : base()
        {
            Display = new WiMo.Games.Display.WP7S.XNA.DisplayManager(this, new WiMo.Games.Size(240, 320), new WiMo.Games.Size(480, 800));
            InputManager = new WiMo.Games.StandardInput.InputManager(Display);
            MenuManager = new WiMo.Games.StandardMenus.MenuManager(this);
            AudioManager = new WiMo.Games.AudioManager.WP7S.XNA.AudioManager(this);
            PhysicsManager = new WiMo.Games.StandardPhysics.PhysicsManager();
            CollisionManager = new WiMo.Games.StandardCollisions.CollisionManager(new WiMo.Games.Size(240, 320));
            StateManager = new StateManager(this);

            var game = new Game(this);
            this.Initialize(game);
            this.Start();
        }
    }
}
